package patterns.actions.interpreter.arithmetic;

public class Division implements ArithmeticExpression {
	ArithmeticExpression left;
	ArithmeticExpression right;

	Division(ArithmeticExpression left, ArithmeticExpression right) {
		this.left = left;
		this.right = right;
	}

	@Override
	public int interpret(Variables var) {
		return this.left.interpret(var) / this.left.interpret(var);
	}

}
